package com.xubao.ali.services;

import java.util.List;

import com.xubao.ali.dao.TagsDAO;
import com.xubao.ali.entity.Tags;

public class TagsService {
	private TagsDAO tdao;
	public TagsService() {
		tdao = new TagsDAO();
	}
	public List<Tags> findAll(){
		return tdao.findAll();
	}
	public List<Tags> findByBookID(int book_id){
		return tdao.findByBookID(book_id);
	}
}
